package com.zhangfb95.crosschain.console.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author zhangfubing
 * @since 2023/12/21
 */
@AllArgsConstructor
@Getter
public enum CommandEnum {

    ADD("add"),
    LOGIN("login"),
    LOGOUT("logout"),
    UPDATE_USERNAME("updateUsername"),
    UPDATE_PASSWORD("updatePassword"),
    UPDATE_SECRET("updateSecret"),
    USERINFO("userinfo"),
    HELP("help"),
    EXIT("exit"),
    ADD_CHAIN_ACCOUNT("addChainAccount"),
    REMOVE_CHAIN_ACCOUNT("removeChainAccount"),
    LIST_CHAIN_ACCOUNT("listChainAccount"),
    ADD_CHAIN_ACCOUNT_PROPERTIES("addChainAccountProperties"),
    REMOVE_CHAIN_ACCOUNT_PROPERTIES("removeChainAccountProperties"),
    LIST_CHAIN_NAME("listChainName"),
    LIST_CHAIN_PATH("listChainPath"),
    CHAIN_INFO("chainInfo"),
    BLOCK_INFO("blockInfo"),
    SEND("send"),
    QUERY("query"),
    ;

    private final String code;
}
